<?php

/* SSL Management */
$useSSL = true;

include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/../../init.php');
include(dirname(__FILE__).'/transferuj.php');

if (!$cookie->isLogged(true))
    Tools::redirect('authentication.php?back=order.php');
elseif (!$cart->getOrderTotal(true, Cart::BOTH))
	Tools::displayError('Error: Empty cart');

$transferuj = new transferuj();


include(dirname(__FILE__).'/../../header.php');

// Prepare payment

$transferuj->preparePayment();
// Display
echo $transferuj->display('transferuj.php', 'checkout.tpl');

include_once(dirname(__FILE__).'/../../footer.php');
?>